<?php
class userrelationModel extends relationModel {

    public $table = "user";
    public $join = array(
        "user_role" => array(
            "type" => "has_many",
            "foreign_key" => "uid"
        )
    );

}

?>
